import request from '@/utils/request'

export function getAnalyze() {
    return request({
        url: "/exam/analyze/getAnalyze",
        method: "get"
    })
}

export function sendTextToAi(data) {
    return request({
        url: '/exam/analyze/request/ai',
        method: 'post',
        data: data
    })
}

export function isAlowAnalyze() {
    return request({
        url: '/exam/analyze/isAlowAnalyze',
        method: 'get'
    })
}

export function isAlowAi() {
    return request({
        url: '/exam/analyze/isAlowAi',
        method: 'get'
    })
}